<?php

namespace Tests;


use App\Common\WX\WxWord;
use PHPUnit\Framework\TestCase;

class test_wxword extends TestCase
{
    function test_1010()
    {

        $w = 'http://www.baidu.com';
        $w = 'test$123';
        $w = 'test123';

        $word = new WxWord($w);

        var_dump($word);

        $this->assertEquals($word->content(), $w);
        $this->assertEquals($word->app(), 'test');
    }

}